/**
 * TO BE DETERMINED
 */
package org.eichar.client;

import com.google.gwt.user.client.ui.Widget;

/**
 * Listens to its associated widget and reacts to events. Also provides methods
 * for interacting with the widget when necessary.
 * 
 * @author Jesse
 */
public abstract class Observer {

    private final Widget widget;

    protected Observer(final Widget widget) {
        this.widget = widget;
    }

    public Widget getWidget() {
        return widget;
    }

}
